package com.mall.product.dto;

import com.mall.common.dto.SkuInfoDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author: 谢君臣
 * @Date: 2022/9/18-18:31
 * @version: 1.0
 * @function:
 */
@Data
public class SeckillSkuRedisDTO {

    @ApiModelProperty(value = "活动id")
    private Long promotionId;

    @ApiModelProperty(value = "活动场次id")
    private Long promotionSessionId;

    @ApiModelProperty(value = "商品id")
    private Long skuId;

    @ApiModelProperty(value = "秒杀价格")
    private BigDecimal seckillPrice;

    @ApiModelProperty(value = "秒杀总量")
    private BigDecimal seckillCount;

    @ApiModelProperty(value = "每人限购数量")
    private BigDecimal seckillLimit;

    @ApiModelProperty(value = "排序")
    private Integer seckillSort;

    private String randomCode;
    private Long startTime;
    private Long endTime;
}
